home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Updates, etc.
/
Essential Dev. Set 7.0.2 Update
/
Library Updates.sea
/
Mac #includes
/
THINK #includes
/
pascal.h
Wrap
Text File
|
1994-03-28
|
734b
|
35 lines
/*
* pascal.h
*
* Copyright (c) 1991 Symantec Corporation. All rights reserved.
*
*/
#ifndef __pascal__
#define __pascal__
#ifdef __cplusplus
extern "C" {
#endif
// these functions modify their argument in place - don't use with constants
unsigned char *CtoPstr(char *);
char *PtoCstr(unsigned char *);
pascal unsigned char *C2PStr(char *);
pascal char *P2CStr(unsigned char *);
#ifndef __cplusplus
// no longer needed - provided for backward compatibility
pascal void CallPascal (...) = { 0x205F, 0x4E90 };
pascal char CallPascalB(...) = { 0x205F, 0x4E90 };
pascal int CallPascalW(...) = { 0x205F, 0x4E90 };
pascal long CallPascalL(...) = { 0x205F, 0x4E90 };
#endif
#ifdef __cplusplus
}
#endif
#endif // __pascal__